package com.htj.admin.dao;

import com.htj.admin.domain.Food;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface FoodDao {

    int add(Food order);

    List<Food> pageList(Map<String, String> map);

    int update(Food order);

    int delete(Integer id);

    int changeStatus(Map<String,Integer> map);

    List<Food> getAll();

    List<Food> getPie();

    Food getById(String id);

    int changeSaleAndSum(Food food);

    List<Food> searchType(String type);

    Food champion();

    List<Food> mustPoint();

    List<Food> q_pageList(HashMap<String, String> map);
}
